package cn.dingli.market.qo;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Map;

@Setter@Getter
public class BaseQuery implements Serializable {
    private Integer currentPage=1;
    private Integer pageSize=3;
    private Map<String,Object> params;//其他请求参数
    public Integer getStart(){
        return (currentPage-1)*pageSize;
    }

}
